package cn.danger.com.db;

import java.util.List;

import cn.danger.com.model.entity.Operate;

/**
 * Created by 俊 on 2016/12/31.
 */
public interface OperateDao {

    void insert(Operate operate);

    void update(Operate origin_operate, Operate operate);

    void delete(Operate operate);

    Operate queryOperate(String operate_table, int operate_id);

    List<Operate> queryOperates(String username, String operate_table);

}